package jm.nj.demo02mian.test01;

import jm.nj.day07jia.Commodity;

public class Test {
    public static void main(String[] args) {
        Cook1 co = new Cook1();

        co.setName("张三");
        co.setAge(18);

        System.out.println("厨师姓名:"+co.getName());
        System.out.println("厨师年龄:"+co.getAge());

        co.cooking();
        co.eat();
    }
}
